home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / tex / inputs / slides.sty < prev    next >
Text File  |  1991-05-20  |  9KB  |  237 lines

  1. % slides.sty 17-Jan-86
  2.  
  3. \typeout{Document Style 'slide' -- released 17 January 1986}
  4. \def\@notinslitex{\errmessage{This command not allowed in SLiTeX.}}
  5. \@twosidefalse
  6. \topmargin -10pt
  7. \oddsidemargin 17pt
  8. \evensidemargin 17pt
  9. \def\pl@twoside{\@latexerr{No 'twoside' layout for slides}\@eha}
  10. \headheight 14pt
  11. \headsep 15pt
  12. \footheight 14pt
  13. \footskip 25pt
  14. \textheight 600pt
  15. \textwidth 460pt
  16. \columnwidth \textwidth 
  17. \columnsep 10pt
  18. \columnseprule \z@
  19.  
  20. \skip\footins 10pt plus 2pt minus 4pt 
  21. \skip\@mpfootins = \skip\footins
  22. \footnotesep 20pt 
  23.  
  24. \marginparwidth 20pt 
  25. \marginparsep 5pt
  26. \marginparpush 5pt
  27.  
  28.  
  29. \def\@mainsize{\@visibletrue\tiny} 
  30. \parindent 0pt
  31. \def\baselinestretch{1}
  32. \def\sc{\@noslifont\sc}
  33. \def\@noslifont#1{\@warning{No \string#1\space type style in SLiTeX}}
  34. \def\Huge{\huge}
  35. \def\huge{\@nomath\huge\@LARGE\@huge\def\@currsize{\@huge}\rm
  36. \baselineskip 60pt plus 10pt minus 6pt\lineskip 2pt\def\@parskip{60pt plus
  37. 30pt minus 6pt}\parskip\@parskip
  38. \abovedisplayskip 24pt plus 10pt minus 6pt\belowdisplayskip 24pt plus 10pt
  39. minus 6pt\abovedisplayshortskip 12pt plus 8pt\belowdisplayshortskip 12pt plus
  40. 8pt\setbox\strutbox=\hbox{\vrule height27pt depth11pt
  41. width0pt}\baselineskip\baselinestretch\baselineskip
  42. \normalbaselineskip\baselineskip}
  43. \def\@huge{\if@visible\fortyonept\else\ifortyonept\fi}
  44. \def\LARGE{\@nomath\LARGE\@LARGE\def\@currsize{\@LARGE}\rm
  45. \baselineskip 52pt plus 10pt minus 6pt\lineskip 2pt\def\@parskip{52pt plus
  46. 30pt minus 6pt}\parskip\@parskip
  47. \abovedisplayskip 24pt plus 10pt minus 6pt\belowdisplayskip 24pt plus 10pt
  48. minus 6pt\abovedisplayshortskip 12pt plus 8pt\belowdisplayshortskip 12pt plus
  49. 8pt\setbox\strutbox=\hbox{\vrule height27pt depth11pt
  50. width0pt}\baselineskip\baselinestretch\baselineskip
  51. \normalbaselineskip\baselineskip}
  52. \def\@LARGE{\if@visible\thirtyfourpt\else\ithirtyfourpt\fi}
  53. \def\Large{\@nomath\Large\@Large\def\@currsize{\@Large}\rm
  54. \baselineskip 48pt plus 10pt minus 6pt\lineskip 2pt\def\@parskip{48pt plus
  55. 30pt minus 6pt}\parskip\@parskip
  56. \abovedisplayskip 24pt plus 10pt minus 6pt\belowdisplayskip 24pt plus 10pt
  57. minus 6pt\abovedisplayshortskip 12pt plus 8pt\belowdisplayshortskip 12pt plus
  58. 8pt\setbox\strutbox=\hbox{\vrule height27pt depth11pt
  59. width0pt}\baselineskip\baselinestretch\baselineskip
  60. \normalbaselineskip\baselineskip}
  61. \def\@Large{\if@visible\twentyninept\else\itwentyninept\fi}
  62. \def\large{\@nomath\large\@large\def\@currsize{\@large}\rm
  63. \baselineskip 42pt plus 8pt minus 5pt\lineskip 2pt\def\@parskip{40pt plus 20pt
  64. minus 4pt}\parskip\@parskip
  65. \abovedisplayskip 20pt plus 8pt minus 3pt\belowdisplayskip 20pt plus 8pt minus
  66. 3pt\abovedisplayshortskip 10pt plus 5pt\belowdisplayshortskip 10pt plus
  67. 5pt\setbox\strutbox=\hbox{\vrule height20pt depth8.5pt
  68. width0pt}\baselineskip\baselinestretch\baselineskip
  69. \normalbaselineskip\baselineskip}
  70. \def\@large{\if@visible\twentyfourpt\else\itwentyfourpt\fi}
  71.  
  72. \def\normalsize{\@nomath\normalsize\@normalsize\def\@currsize{\@normalsize}\rm
  73. \baselineskip 30pt plus 3pt minus 3pt\lineskip 2pt\def\@parskip{30pt plus 18pt
  74. minus 9pt}\parskip\@parskip
  75. \abovedisplayskip 15pt plus 3pt minus 3pt\belowdisplayskip 10pt plus 3pt minus
  76. 3pt\abovedisplayshortskip 10pt plus 3pt\belowdisplayshortskip 10pt plus
  77. 3pt\setbox\strutbox=\hbox{\vrule height17pt depth7pt
  78. width0pt}\baselineskip\baselinestretch\baselineskip
  79. \normalbaselineskip\baselineskip}
  80. \def\@normalsize{\if@visible\twentypt\else\itwentypt\fi}
  81. \def\small{\@nomath\small\@small\def\@currsize{\@small}\rm
  82. \baselineskip 19pt plus 3pt minus 1pt\lineskip 2pt\def\@parskip{15pt plus 15pt
  83. minus 7pt}\parskip\@parskip
  84. \abovedisplayskip 12pt plus 3pt minus 3pt\belowdisplayskip 9pt plus 3pt minus
  85. 3pt\abovedisplayshortskip 6pt plus 3pt\belowdisplayshortskip 6pt plus
  86. 3pt\setbox\strutbox=\hbox{\vrule height13.5pt depth5.6pt
  87. width0pt}\baselineskip\baselinestretch\baselineskip
  88. \normalbaselineskip\baselineskip}
  89. \def\@small{\if@visible\seventeenpt\else\iseventeenpt\fi}
  90. \let\footnotesize=\small
  91. \let\scriptsize=\small
  92. \def\tiny{\@nomath\tiny\@tiny\def\@currsize{\@tiny}\rm
  93. \baselineskip 16pt plus 2pt minus 1pt\lineskip 2pt\def\@parskip{11pt plus 11pt
  94. minus 5pt}\parskip\@parskip
  95. \abovedisplayskip 14pt plus 3pt minus 10pt\belowdisplayskip 14pt plus 3pt
  96. minus 10pt\abovedisplayshortskip 0pt plus 3pt\belowdisplayshortskip 8pt plus
  97. 3pt minus 5pt\setbox\strutbox=\hbox{\vrule height10pt depth4pt
  98. width0pt}\baselineskip\baselinestretch\baselineskip
  99. \normalbaselineskip\baselineskip}
  100. \def\@tiny{\if@visible\fourteenpt\else\ifourteenpt\fi}
  101.  
  102. \def\ps@headings{\def\ps@slide{\def\@oddfoot{\@mainsize +\hfil\hbox to
  103. 3em{\theslide\hss}}\def\@oddhead{\@mainsize +\hfil +}\def\@evenfoot{\@mainsize
  104. +\hfil\hbox to 3em{\theslide\hss}}\def\@evenhead{\@mainsize +\hfil +}}
  105. \def\ps@overlay{\def\@oddfoot{\@mainsize +\hfil\hbox to
  106. 3em{\theoverlay\hss}}\def\@oddhead{\@mainsize +\hfil
  107. +}\def\@evenfoot{\@mainsize +\hfil\hbox to
  108. 3em{\theoverlay\hss}}\def\@evenhead{\@mainsize +\hfil +}}
  109. \def\ps@note{\def\@oddfoot{\@mainsize
  110. \hbox{}\hfil\thenote}\def\@oddhead{}\def\@evenfoot{\@mainsize
  111. \hbox{}\hfil\thenote}\def\@evenhead{}}}
  112. \def\ps@plain{\def\ps@slide{\def\@oddfoot{\@mainsize \mbox{}\hfil\hbox to
  113. 3em{\theslide\hss}}\def\@oddhead{}\def\@evenfoot{\@mainsize \mbox{}\hfil\hbox
  114. to 3em{\theslide\hss}}\def\@evenhead{}}
  115. \def\ps@overlay{\def\@oddfoot{\@mainsize 
  116.  \mbox{}\hfil\hbox to
  117. 3em{\theoverlay\hss}}\def\@oddhead{}\def\@evenfoot{\@mainsize
  118. \mbox{}\hfil\hbox to 3em{\theoverlay\hss}}\def\@evenhead{}}
  119. \def\ps@note{\def\@oddfoot{\@mainsize
  120. \hbox{}\hfil\thenote}\def\@oddhead{}\def\@evenfoot{\@mainsize
  121. \hbox{}\hfil\thenote}\def\@evenhead{}}}
  122. \def\ps@empty{\def\ps@slide{\def\@oddhead{}\def\@oddfoot{}\def\@evenhead{}%
  123. \def\@evenfoot{}}\def\ps@overlay{\def\@oddhead{}\def\@oddfoot{}%
  124. \def\@evenhead{}\def\@evenfoot{}}\def\ps@note{\def\@oddhead{}\def\@oddfoot{}%
  125. \def\@evenhead{}\def\@evenfoot{}}}
  126. \ps@headings
  127. \def\@oddhead{}\def\@oddfoot{}\def\@evenhead{}\def\@evenfoot{}
  128.  
  129.  
  130. \@options
  131.  
  132.  
  133. \def\titlepage{\newpage\thispagestyle{empty}\c@page\z@}
  134. \def\endtitlepage{\newpage}
  135.  
  136. \leftmargini 38pt
  137. \leftmarginii 30pt
  138. \leftmarginiii 20pt
  139. \leftmarginiv 15pt
  140. \leftmarginv 15pt
  141. \leftmarginvi 10pt
  142. \def\@listi{\parsep .5\parskip
  143. \topsep \parsep
  144. \itemsep\parskip
  145. \partopsep 0pt}
  146. \def\@listii{\leftmargin\leftmarginii
  147.  \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  148.  \parsep .5\parskip
  149.  \topsep \parsep
  150.  \itemsep\parskip}
  151. \def\@listiii{\leftmargin\leftmarginiii
  152.  \labelwidth\leftmarginiii\advance\labelwidth-\labelsep}
  153. \def\@listiv{\leftmargin\leftmarginiv
  154.  \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
  155. \def\@listv{\leftmargin\leftmarginv
  156.  \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
  157. \def\@listvi{\leftmargin\leftmarginvi
  158.  \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
  159.  
  160. \labelsep 10pt
  161. \tabbingsep \labelsep
  162. \leftmargin\leftmargini
  163. \labelwidth\leftmargini\advance\labelwidth-\labelsep
  164.  
  165. \def\verse{\let\\=\@centercr \list{}{\itemsep\z@ 
  166.  \itemindent -15pt\listparindent \itemindent 
  167.  \rightmargin\leftmargin\advance\leftmargin 15pt}\item[]}
  168. \let\endverse\endlist
  169. \def\quotation{\list{}{\listparindent 20pt\relax\itemindent\listparindent
  170.  \rightmargin\leftmargin}\item[]}
  171. \let\endquotation=\endlist
  172. \def\quote{\list{}{\rightmargin\leftmargin}\item[]}
  173. \let\endquote=\endlist
  174.  
  175. \def\descriptionlabel#1{\hspace\labelsep \bf #1}
  176. \def\description{\list{}{\labelwidth\z@ \itemindent-\leftmargin
  177.  \let\makelabel\descriptionlabel}}
  178. \let\enddescription\endlist
  179.  
  180.  
  181. \def\labelenumi{\arabic{enumi}.} 
  182. \def\theenumi{\arabic{enumi}} 
  183. \def\labelenumii{(\alph{enumii})}
  184. \def\theenumii{\alph{enumii}}
  185. \def\p@enumii{\theenumi}
  186. \def\labelenumiii{\roman{enumiii}.}
  187. \def\theenumiii{\roman{enumiii}}
  188. \def\p@enumiii{\theenumi(\theenumii)}
  189. \def\labelenumiv{\Alph{enumiv}.}
  190. \def\theenumiv{\Alph{enumiv}} 
  191. \def\p@enumiv{\p@enumiii\theenumiii}
  192.  
  193. \def\labelitemi{$\bullet$}
  194. \def\labelitemii{\bf --}
  195. \def\labelitemiii{$\ast$}
  196. \def\labelitemiv{$\cdot$}
  197.  
  198. \arraycolsep 8pt
  199. \tabcolsep 10pt
  200. \arrayrulewidth .6pt
  201. \doublerulesep 3pt
  202. \fboxsep = 5pt
  203. \fboxrule = .6pt
  204. \def\today{\ifcase\month\or
  205.  January\or February\or March\or April\or May\or June\or
  206.  July\or August\or September\or October\or November\or December\fi
  207.  \space\number\day, \number\year}
  208.  
  209.  
  210.  
  211. \def\thefootnote{\fnsymbol{footnote}}
  212. \@addtoreset{footnote}{slide}
  213. \@addtoreset{footnote}{overlay}
  214. \@addtoreset{footnote}{note}
  215.  
  216. \let\footnoterule=\relax
  217.  
  218. \long\def\@makefntext#1{\noindent \hangindent 10pt\hbox 
  219.  to 10pt{\hss $^{\@thefnmark}$}#1}
  220.  
  221.  
  222. \def\theequation{\@arabic{\c@equation}}
  223. \def\@figsep{7pt}
  224. \def\@textfigsep{5pt}
  225. \def\@captionskip{6pt}
  226. \def\topfraction{.7}
  227. \def\bottomfraction{.3}
  228. \def\textfraction{.2}
  229. \def\floatpagefraction{.5}
  230. \def\dbltopfraction{.7}
  231. \def\dblfloatpagefraction{.5}
  232.  
  233.  
  234. \pagenumbering{arabic}
  235. \onecolumn
  236. \normalsize
  237.